home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 10347 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  556 b 

  1. Path: inforamp.net!ts9-03
  2. From: rmorin@inforamp.net (Randy Charles Morin)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: [Q] Pointers to Arrays (or not)
  5. Date: Thu, 07 Mar 96 06:18:09 GMT
  6. Organization: MiddleWorld SoftWare
  7. Message-ID: <4hlv2s$6jg@sam.inforamp.net>
  8. References: <4hkbg9$cja@aphex.direct.ca>
  9. NNTP-Posting-Host: ts9-03.tor.inforamp.net
  10. X-Newsreader: News Xpress Version 1.0 Beta #4
  11.  
  12. In article <4hkbg9$cja@aphex.direct.ca>, qjackson@direct.ca wrote:
  13. >    pBar = new Bar;
  14.  
  15. Then don't use this statment.
  16. Use...
  17.     pBar = new Bar[1];
  18. Hope this helps.
  19.  
  20. Agrivar
  21.